import './less/index.less'; //less样式引入
import React from 'react';
import ReactDOM from 'react-dom';
import Component from './components/component.jsx'; //自定义组件
import $ from 'jquery'; //引入jquery

//将其渲染到页面的id为test的DOM元素内
ReactDOM.render(<Component/>,$("#test")[0]);